<span id="rating_votes">{$rating.votes_text}</span><span>|</span><span id="rating_rating">{$rating.rating_text}</span><br class="clear" />
<div id="rating_string">
{if $rating.uservote}
	<span id="uservote_text">Ваша оценка:</span>
	{section name=r start=1 loop=6}
	<span class="rating_uservote{if $smarty.section.r.iteration == $rating.uservote.grade}_this{/if}">{$smarty.section.r.iteration}</span>
	{/section}
{else}
	{section name=r start=1 loop=6}
	<a href="?obj_id={$rating.obj_id}&rating={$smarty.section.r.iteration}" onclick="ratethis('{$rating.obj_id}','{$rating.module}','{$smarty.section.r.iteration}','rating');return false;" class="rating_href">{$smarty.section.r.iteration}</a>
	{/section}
{/if}
</div>
